package com.bobby.shop.service;

import com.bobby.shop.pojo.ShopCar;
import com.bobby.shop.vo.ShopCarVO;

import java.util.List;

/**
 * @Description TODO
 * @Date 2020/12/22 20:05
 * @Created wenjunpei
 */
public interface ShopCarService {
    ShopCar findByArticleIdAndUserId(String articleId,Integer userId);
    void save(ShopCar shopCar);
    List<ShopCarVO> findByUserId(Integer userId);
    ShopCar findByShopCarId(String shopCarId);
    void deleteByShopCarId(String shopCarId);
    void updateShopCar(ShopCar shopCar);
}
